package com.diablo.sitemanager.service;

import com.diablo.sitemanager.entity.Article;
import com.diablo.sitemanager.entity.ArticleVo;
import com.diablo.sitemanager.entity.QiniuInfo;

import java.util.List;

/**
 * Created by diablo13064 on 2018/6/7.
 */
public interface ArticleService {
    //QiniuInfo upload(byte[] bytes, String keys);

    int addArticle(Article article);

    int editArticle(Article article);

    int deleteArticle(Long articleId);

    List<ArticleVo> findAllArticle(int pageNum, int pageSize);

    List<String> getImageList(String dir);
}
